package cn.touna.jss.common.properties.disconf;

import com.baidu.disconf.client.common.annotations.DisconfFile;
import com.baidu.disconf.client.common.annotations.DisconfFileItem;
import org.springframework.stereotype.Component;

/**
 * Created with IntelliJ IDEA.
 * User: lijie
 * Email:lijiewj51137@touna.cn
 * Date: 2017/7/31
 * Time: 10:29
 */
@Component
//@ConfigurationProperties(prefix = "tongdun")
//@PropertySource("classpath:properties/tongdun.properties")
@DisconfFile(targetDirPath = "disconf", filename = "tongdun.properties")
public class TongDunProperties {

    private String partnerCode;
    private String partnerKey;
    private String webAppName;
    private String androidAppName;
    private String iosAppName;
    private String webSecretKey;
    private String androidSecretKey;
    private String iosSecretKey;
    private String tounaWebSecretKey;

    /**
     * 同盾贷前审核授权
     **/
    private String accessTokenReportUrl;
    /**
     * 同盾贷前审核
     **/
    private String queryReportUrl;
    /**
     * 同盾决策引擎
     **/
    private String queryDecisionEngine;

    /**
     * 命名规则
     **/
    private String ruleUrl;
    /**
     * 同盾多头
     */
    private String zhcnRuleUrl;


    private String carniuWebSecretKey;
    private String carniuAndroidSecretKey;
    private String carniuIosSecretKey;


    private String huarunWebSecretKey;
    private String huarunAndroidSecretKey;
    private String huarunIosSecretKey;

    /**
     * 爱奇艺
     */
    private String iqiyiWebSecretKey;
    private String iqiyiAndroidSecretKey;
    private String iqiyiIosSecretKey;

    /**
     * 浩天
     */
    private String haotianWebSecretKey;
    private String haotianAndroidSecretKey;
    private String haotianIosSecretKey;

    /**
     * 同盾微贷
     */
    private String appName;
    private String bizCode;
    private String queryTDScore;
    @DisconfFileItem(name = "tongdun.appName", associateField = "appName")
    public String getAppName() {
        return appName;
    }

    public void setAppName(String appName) {
        this.appName = appName;
    }
    @DisconfFileItem(name = "tongdun.bizCode", associateField = "bizCode")
    public String getBizCode() {
        return bizCode;
    }

    public void setBizCode(String bizCode) {
        this.bizCode = bizCode;
    }
    @DisconfFileItem(name = "tongdun.queryTDScoreUrl", associateField = "queryTDScore")
    public String getQueryTDScore() {
        return queryTDScore;
    }

    public void setQueryTDScore(String queryTDScore) {
        this.queryTDScore = queryTDScore;
    }

    @DisconfFileItem(name = "tongdun.huarunWebSecretKey", associateField = "huarunWebSecretKey")
    public String getHuarunWebSecretKey() {
        return huarunWebSecretKey;
    }

    public void setHuarunWebSecretKey(String huarunWebSecretKey) {
        this.huarunWebSecretKey = huarunWebSecretKey;
    }

    @DisconfFileItem(name = "tongdun.cardniuwebSecretKey", associateField = "carniuWebSecretKey")

    public String getCarniuWebSecretKey() {
        return carniuWebSecretKey;
    }

    public void setCarniuWebSecretKey(String carniuWebSecretKey) {
        this.carniuWebSecretKey = carniuWebSecretKey;
    }

    @DisconfFileItem(name = "tongdun.cardniuandroidSecretKey", associateField = "carniuAndroidSecretKey")
    public String getCarniuAndroidSecretKey() {
        return carniuAndroidSecretKey;
    }

    public void setCarniuAndroidSecretKey(String carniuAndroidSecretKey) {
        this.carniuAndroidSecretKey = carniuAndroidSecretKey;
    }

    @DisconfFileItem(name = "tongdun.cardniuiosSecretKey", associateField = "carniuIosSecretKey")
    public String getCarniuIosSecretKey() {
        return carniuIosSecretKey;
    }

    public void setCarniuIosSecretKey(String carniuIosSecretKey) {
        this.carniuIosSecretKey = carniuIosSecretKey;
    }

    @DisconfFileItem(name = "tongdun.huarunandroidSecretKey", associateField = "huarunAndroidSecretKey")
    public String getHuarunAndroidSecretKey() {
        return huarunAndroidSecretKey;
    }

    public void setHuarunAndroidSecretKey(String huarunAndroidSecretKey) {
        this.huarunAndroidSecretKey = huarunAndroidSecretKey;
    }

    @DisconfFileItem(name = "tongdun.huaruniosSecretKey", associateField = "huarunIosSecretKey")
    public String getHuarunIosSecretKey() {
        return huarunIosSecretKey;
    }

    public void setHuarunIosSecretKey(String huarunIosSecretKey) {
        this.huarunIosSecretKey = huarunIosSecretKey;
    }

    @DisconfFileItem(name = "tongdun.zhcnRuleUrl", associateField = "zhcnRuleUrl")
    public String getZhcnRuleUrl() {
        return zhcnRuleUrl;
    }

    public void setZhcnRuleUrl(String zhcnRuleUrl) {
        this.zhcnRuleUrl = zhcnRuleUrl;
    }

    @DisconfFileItem(name = "tongdun.ruleUrl", associateField = "ruleUrl")
    public String getRuleUrl() {
        return ruleUrl;
    }

    public void setRuleUrl(String ruleUrl) {
        this.ruleUrl = ruleUrl;
    }

    @DisconfFileItem(name = "tongdun.partnerCode", associateField = "partnerCode")
    public String getPartnerCode() {
        return partnerCode;
    }

    public void setPartnerCode(String partnerCode) {
        this.partnerCode = partnerCode;
    }

    @DisconfFileItem(name = "tongdun.partnerKey", associateField = "partnerKey")
    public String getPartnerKey() {
        return partnerKey;
    }

    public void setPartnerKey(String partnerKey) {
        this.partnerKey = partnerKey;
    }

    @DisconfFileItem(name = "tongdun.webAppName", associateField = "webAppName")
    public String getWebAppName() {
        return webAppName;
    }

    public void setWebAppName(String webAppName) {
        this.webAppName = webAppName;
    }

    @DisconfFileItem(name = "tongdun.androidAppName", associateField = "androidAppName")
    public String getAndroidAppName() {
        return androidAppName;
    }

    public void setAndroidAppName(String androidAppName) {
        this.androidAppName = androidAppName;
    }

    @DisconfFileItem(name = "tongdun.iosAppName", associateField = "iosAppName")
    public String getIosAppName() {
        return iosAppName;
    }

    public void setIosAppName(String iosAppName) {
        this.iosAppName = iosAppName;
    }

    @DisconfFileItem(name = "tongdun.webSecretKey", associateField = "webSecretKey")
    public String getWebSecretKey() {
        return webSecretKey;
    }

    public void setWebSecretKey(String webSecretKey) {
        this.webSecretKey = webSecretKey;
    }



    @DisconfFileItem(name = "tongdun.tounaWebSecretKey", associateField = "tounaWebSecretKey")
    public String getTounaWebSecretKey() {
        return tounaWebSecretKey;
    }

    public void setTounaWebSecretKey(String tounaWebSecretKey) {
        this.tounaWebSecretKey = tounaWebSecretKey;
    }

    @DisconfFileItem(name = "tongdun.androidSecretKey", associateField = "androidSecretKey")
    public String getAndroidSecretKey() {
        return androidSecretKey;
    }

    public void setAndroidSecretKey(String androidSecretKey) {
        this.androidSecretKey = androidSecretKey;
    }

    @DisconfFileItem(name = "tongdun.iosSecretKey", associateField = "iosSecretKey")
    public String getIosSecretKey() {
        return iosSecretKey;
    }

    public void setIosSecretKey(String iosSecretKey) {
        this.iosSecretKey = iosSecretKey;
    }

    @DisconfFileItem(name = "tongdun.accessTokenReportUrl", associateField = "accessTokenReportUrl")
    public String getAccessTokenReportUrl() {
        return accessTokenReportUrl;
    }

    public void setAccessTokenReportUrl(String accessTokenReportUrl) {
        this.accessTokenReportUrl = accessTokenReportUrl;
    }

    @DisconfFileItem(name = "tongdun.queryReportUrl", associateField = "queryReportUrl")
    public String getQueryReportUrl() {
        return queryReportUrl;
    }

    public void setQueryReportUrl(String queryReportUrl) {
        this.queryReportUrl = queryReportUrl;
    }

    @DisconfFileItem(name = "tongdun.queryDecisionEngine", associateField = "queryDecisionEngine")
    public String getQueryDecisionEngine() {
        return queryDecisionEngine;
    }

    public void setQueryDecisionEngine(String queryDecisionEngine) {
        this.queryDecisionEngine = queryDecisionEngine;
    }

    @DisconfFileItem(name = "tongdun.iqiyiWebSecretKey", associateField = "iqiyiWebSecretKey")
    public String getIqiyiWebSecretKey() {
        return iqiyiWebSecretKey;
    }

    public void setIqiyiWebSecretKey(String iqiyiWebSecretKey) {
        this.iqiyiWebSecretKey = iqiyiWebSecretKey;
    }

    @DisconfFileItem(name = "tongdun.iqiyiAndroidSecretKey", associateField = "iqiyiAndroidSecretKey")
    public String getIqiyiAndroidSecretKey() {
        return iqiyiAndroidSecretKey;
    }

    public void setIqiyiAndroidSecretKey(String iqiyiAndroidSecretKey) {
        this.iqiyiAndroidSecretKey = iqiyiAndroidSecretKey;
    }

    @DisconfFileItem(name = "tongdun.iqiyiIosSecretKey", associateField = "iqiyiIosSecretKey")
    public String getIqiyiIosSecretKey() {
        return iqiyiIosSecretKey;
    }

    public void setIqiyiIosSecretKey(String iqiyiIosSecretKey) {
        this.iqiyiIosSecretKey = iqiyiIosSecretKey;
    }

    @DisconfFileItem(name = "tongdun.haotianWebSecretKey", associateField = "haotianWebSecretKey")
    public String getHaotianWebSecretKey() {
        return haotianWebSecretKey;
    }

    public void setHaotianWebSecretKey(String haotianWebSecretKey) {
        this.haotianWebSecretKey = haotianWebSecretKey;
    }

    @DisconfFileItem(name = "tongdun.haotianAndroidSecretKey", associateField = "haotianAndroidSecretKey")
    public String getHaotianAndroidSecretKey() {
        return haotianAndroidSecretKey;
    }

    public void setHaotianAndroidSecretKey(String haotianAndroidSecretKey) {
        this.haotianAndroidSecretKey = haotianAndroidSecretKey;
    }

    @DisconfFileItem(name = "tongdun.haotianIosSecretKey", associateField = "haotianIosSecretKey")
    public String getHaotianIosSecretKey() {
        return haotianIosSecretKey;
    }

    public void setHaotianIosSecretKey(String haotianIosSecretKey) {
        this.haotianIosSecretKey = haotianIosSecretKey;
    }
}
